package cn.wipace.actionlib.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/5/5.
 * 用户能力和得分实体类
 */

public class UserScore implements Serializable {

    private long id;
    private long uid;//用户id
    private float mindFullness;//专注力
    private float exerciseAbility;//运动能力
    private float emergencyResponse;//应急反应
    private float coordination;//协调能力
    private float gameScore;//游戏分数
    private String packageName;//游戏包名
    private short uploadResult;//是否上传，默认0
    private long gameStartTime;//游戏开始时间
    private long createTime;//  创建时间


    public UserScore() {
    }

    public UserScore(long uid, float mindFullness, float exerciseAbility, float emergencyResponse, float coordination, float gameScore, String packageName, short uploadResult, long gameStartTime, long createTime) {
        this.uid = uid;
        this.mindFullness = mindFullness;
        this.exerciseAbility = exerciseAbility;
        this.emergencyResponse = emergencyResponse;
        this.coordination = coordination;
        this.gameScore = gameScore;
        this.packageName = packageName;
        this.uploadResult = uploadResult;
        this.gameStartTime = gameStartTime;
        this.createTime = createTime;
    }

    public UserScore(long id, long uid, float mindFullness, float exerciseAbility, float emergencyResponse, float coordination, float gameScore, String packageName, short uploadResult, long gameStartTime, long createTime) {
        this.id = id;
        this.uid = uid;
        this.mindFullness = mindFullness;
        this.exerciseAbility = exerciseAbility;
        this.emergencyResponse = emergencyResponse;
        this.coordination = coordination;
        this.gameScore = gameScore;
        this.packageName = packageName;
        this.uploadResult = uploadResult;
        this.gameStartTime = gameStartTime;
        this.createTime = createTime;
    }

    public UserScore(long uid, float mindFullness, float exerciseAbility, float emergencyResponse, float coordination, float gameScore, String packageName, short uploadResult, long gameStartTime) {
        this.uid = uid;
        this.mindFullness = mindFullness;
        this.exerciseAbility = exerciseAbility;
        this.emergencyResponse = emergencyResponse;
        this.coordination = coordination;
        this.gameScore = gameScore;
        this.packageName = packageName;
        this.uploadResult = uploadResult;
        this.gameStartTime = gameStartTime;
    }


    public UserScore(long uid, float mindFullness, float exerciseAbility, float emergencyResponse, float coordination, float gameScore, String packageName, long gameStartTime) {
        this.uid = uid;
        this.mindFullness = mindFullness;
        this.exerciseAbility = exerciseAbility;
        this.emergencyResponse = emergencyResponse;
        this.coordination = coordination;
        this.gameScore = gameScore;
        this.packageName = packageName;
        this.gameStartTime = gameStartTime;
    }

    public UserScore(float mindFullness, float exerciseAbility, float emergencyResponse, float coordination) {
        this.mindFullness = mindFullness;
        this.exerciseAbility = exerciseAbility;
        this.emergencyResponse = emergencyResponse;
        this.coordination = coordination;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public float getMindFullness() {
        return mindFullness;
    }

    public void setMindFullness(float mindFullness) {
        this.mindFullness = mindFullness;
    }

    public float getExerciseAbility() {
        return exerciseAbility;
    }

    public void setExerciseAbility(float exerciseAbility) {
        this.exerciseAbility = exerciseAbility;
    }

    public float getEmergencyResponse() {
        return emergencyResponse;
    }

    public void setEmergencyResponse(float emergencyResponse) {
        this.emergencyResponse = emergencyResponse;
    }

    public float getCoordination() {
        return coordination;
    }

    public void setCoordination(float coordination) {
        this.coordination = coordination;
    }

    public float getGameScore() {
        return gameScore;
    }

    public void setGameScore(float gameScore) {
        this.gameScore = gameScore;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public short getUploadResult() {
        return uploadResult;
    }

    public void setUploadResult(short uploadResult) {
        this.uploadResult = uploadResult;
    }

    public long getGameStartTime() {
        return gameStartTime;
    }

    public void setGameStartTime(long gameStartTime) {
        this.gameStartTime = gameStartTime;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
